priority queue 예문
- Inserts the specified element into this priority queue.
지정된 요소를 이 우선도 큐에 추가합니다. - Inserts the specified element into this priority queue.
지정된 요소를 이 우선도 큐에 삽입합니다. - Otherwise, this priority queue will be ordered according to the natural ordering of its elements.
그 외의 경우는 이 우선도 큐는 그 요소의 자연 순서에 따라 정렬 됩니다. - It would seem that if you want to create a vector that is a priority queue, you have to do it by hand, like this:
마지막으로, 원소들은 오직 한번 순방향으로만 접근이 가능하다. 스트림의 내용을 한번 이상 읽고 싶다면, 각 pass마다 별도의 반복자를 생성해야 한다.